#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Math;
namespace Cephei.QL.Models
{
     // <summary> 
	// ! Base class for model arguments
	// </summary>
    [Guid ("96DEC06B-9B3E-47ba-AA15-32880D8017F9"),ComVisible(true)]
	public interface IParameter 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Math.IArray P_params {get;}
        
		 IParameter SetParam(UInt64 i, Double x);
        
		 UInt64 Size {get;}
        
		 Boolean TestParams(Cephei.QL.Math.IArray p_params);
    }

    // <summary> 
	// ! Base class for model arguments Factory
	// </summary>
   	[ComVisible(true)]
    public interface IParameter_Factory // : Collection_Factory<IParameter, ICell<IParameter>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IParameter, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIParameter&gt</returns>
        IVector<IParameter> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IParameter, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIParameter&gt&gt&gt</returns>
        Generic.ICell<IVector<Generic.ICell<IParameter>>> CreateCellVector();
        IVector<IParameter> CreateVector(IEnumerable<IParameter> source);
        Generic.ICell<IVector<Generic.ICell<IParameter>>> CreateCellVector(IEnumerable<Generic.ICell<IParameter>> source);
        
	    IParameter Create ();
    }
}

